/*
============================================================================
 Name        : $(Basename).cpp
 Author      : $(Author)
 Version     :
 Copyright   : $(Copyright)
 Description : Application entry point
============================================================================
*/

// INCLUDE FILES
#ifdef EKA2
#include <eikstart.h>
#endif


#include "$(Basename)Application.h"




#ifdef EKA2
LOCAL_C CApaApplication* NewApplication()
	{
	return new C$(Basename)Application;
	}
GLDEF_C TInt E32Main()
	{
	return EikStart::RunApplication( NewApplication );
	}
#endif

#ifndef EKA2
// DLL entry point, needed for DLL initialization.
// Usually there is no need to initialize anything, so we just
// return that everything is ok
GLDEF_C TInt E32Dll(TDllReason /*aReason*/) 
{
    return KErrNone;
}
EXPORT_C CApaApplication* NewApplication()
{
	return new C$(Basename)Application;
}
#endif